<?php

namespace api\controllers;

//use yii\web\Controller;
use common\components\fast_api\Controller;
use yii\web\Response;

/**
 * @author wodrow <wodrow451611cv@gmail.com>
 */
class PublicController extends Controller
{
    /**
     * 测试
     * @desc test
     * @param string $x test
     * @return array
     * @return string test 测试参数
     */
    public function actionTest($x)
    {
//        return "123456";
        return [
            'test' => $x,
        ];
    }

    public function actionDoc()
    {

    }
}
